package com.you.weixinpay.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yzm
 * @since 2025-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_payment_info")
public class TPaymentInfo extends BaseEntity  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 支付记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户订单编号
     */
    @TableField("order_no")
    private String orderNo;

    /**
     * 支付系统交易编号
     */
    @TableField("transaction_id")
    private String transactionId;

    /**
     * 支付类型
     */
    @TableField("payment_type")
    private String paymentType;

    /**
     * 交易类型
     */
    @TableField("trade_type")
    private String tradeType;

    /**
     * 交易状态
     */
    @TableField("trade_state")
    private String tradeState;

    /**
     * 支付金额(元)
     */
    @TableField("payer_total")
    private BigDecimal payerTotal;

    /**
     * 通知参数
     */
    @TableField("content")
    private String content;


}
